#include "calc.h"
void testList()
{
	LNode* a = ListCreat();
	ListNodePush(a, 1);
	ListNodePush(a, 1);
	ListNodePush(a, 1);
	ListNodePush(a, 1);
	ListNodePush(a, 1);
	ListNodeDestroy(a);
}
void testchar2List()
{
	LNode* list = ListCreat();
	char a[] = "12+2+22=";
	char b[] = "(1)";
	printf("%d", Check(b));
 	char2list(a,list);

}
void testStack()
{
	Stack* cur = StackCreat();
	StackPush(cur, 1);
	StackPush(cur, 1);
	StackPush(cur, 1);
	StackPush(cur, 1);

}
void testchar2nums()
{
	char a[] = "123+3*2+2=";
	LNode* list = ListCreat();
	char2list(a,list);
	//Stack* s1 = StackCreat(), * s2 = StackCreat();
	//Char2Stack(s1, s2, list);
    //Stack2nums(s1,s2);
	//printf("%lf", a);
}
int main()
{
	//testList();
	//testchar2List();
	//printf("%lf\n", '1');
	//printf("%d", '1');
	//testStack();
	return 0;
}